package com.buaa.student.mapper;

import com.buaa.student.pojo.Dakatoken;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DakaTokenMapper {

    List<Dakatoken> getSuccessOrFailList(@Param("flag") int flag);

    List<Dakatoken> getAll();

    void updateById(@Param("id") long id, @Param("flag") int flag);
}
